package zifu;

import java.io.FileWriter;
import java.io.IOException;

public class t2 {
    public static void main(String[] args) throws IOException {
        FileWriter fileWriter = new FileWriter("D:\\study\\999.java拓展\\自己敲代码-git\\javaBase\\homeExtendDay13\\src\\main\\java\\zifu\\b.txt");
        fileWriter.write("你好2");
        fileWriter.flush(); // 刷新数据，刷出后继续写出
        fileWriter.close();
    }
}
